﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Desp.Master" CodeBehind="WfCadCli.aspx.vb" Inherits="PROJETO_ZEUS.WfCadCli" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
    {
        width: 96%;
    }
    .style2
    {
            width: 51px;
        }
        .style5
        {
            width: 51px;
            height: 26px;
        }
        .style6
        {
            width: 307px;
            height: 26px;
        }
        .style7
        {
            width: 510px;
            height: 26px;
        }
        .style8
        {
            width: 307px;
        }
        .style9
        {
            width: 510px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <table class="style1">
    <tr>
        <td class="style2">
            Nome:</td>
        <td class="style8">
            <asp:TextBox ID="tbnome" runat="server" Width="299px"></asp:TextBox>
        </td>
        <td class="style9">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ControlToValidate="tbnome" ErrorMessage="Campo obrigatório !" ForeColor="Red"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td class="style2">
            Email:</td>
        <td class="style8" id="tbemail">
            <asp:TextBox ID="tbemail" runat="server" Width="299px"></asp:TextBox>
        </td>
        <td class="style9">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="tbemail" ErrorMessage="Campo obrigatório !" ForeColor="Red"></asp:RequiredFieldValidator>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                ControlToValidate="tbemail" ErrorMessage="Formato e-mail incorreto !" 
                ForeColor="Red" 
                ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
        </td>
    </tr>
    <tr>
        <td class="style2">
            Telefone:</td>
        <td class="style8">
            <asp:TextBox ID="tbtel" runat="server" Width="299px"></asp:TextBox>
        </td>
        <td class="style9">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                ControlToValidate="tbtel" ErrorMessage="Campo obrigatório !" ForeColor="Red"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td class="style5">
            Endereço:</td>
        <td class="style6">
            <asp:TextBox ID="tbend" runat="server" Width="299px" style="margin-left: 0px"></asp:TextBox>
        </td>
        <td class="style7">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                ControlToValidate="tbend" ErrorMessage="Campo obrigatório !" ForeColor="Red"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td class="style2">
            Cpf/Cnpj:</td>
        <td class="style8">
            <asp:TextBox ID="tbcpf" runat="server" Width="299px"></asp:TextBox>
        </td>
        <td class="style9">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                ControlToValidate="tbcpf" ErrorMessage="Campo obrigatório !" ForeColor="Red"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td class="style2">
            Estado:</td>
        <td class="style8">
            <asp:DropDownList ID="DropEstado" runat="server" AutoPostBack="True">
                <asp:ListItem Value="neutro">Selecione o Estado</asp:ListItem>
            </asp:DropDownList>
        </td>
        <td class="style9">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                ControlToValidate="DropEstado" ErrorMessage="Selecione seu Estado!" 
                ForeColor="Red"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td class="style2">
            Cidade:</td>
        <td class="style8">
            <asp:ListBox ID="ListCidade" runat="server" AutoPostBack="True" Height="98px" 
                Width="245px"></asp:ListBox>
        </td>
        <td class="style9">
            <asp:RequiredFieldValidator ID="ValidaCidade" runat="server" 
                ControlToValidate="ListCidade" ErrorMessage="Selecione sua Cidade!" 
                ForeColor="Red"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td class="style2">
            &nbsp;</td>
        <td class="style8" align="center">
            <asp:Button ID="Editar" runat="server" Text="Editar" Visible="False" />
            <asp:Button ID="BtnSave" runat="server" Text="Salvar" />
        </td>
        <td class="style9">
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style2">
            &nbsp;</td>
        <td class="style8">
            <asp:Label ID="lbmsg" runat="server" ForeColor="Blue"></asp:Label>
        </td>
        <td class="style9">
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style2">
            &nbsp;</td>
        <td class="style8">
            &nbsp;</td>
        <td class="style9">
            &nbsp;</td>
    </tr>
</table>
</asp:Content>
